<div class="page-bar">
	<ul class="page-breadcrumb" style="border-bottom:0px;">
		<li><span>管理子系统</span> <i class="fa fa-angle-right"></i></li>
		<li><span>字典管理</span></li>
	</ul>
</div>
<div class="content" id="dict_content" style="padding:10px 20px 20px;">
	<div class="row" id="dict_search_plus" style="display:none">
		<div class="col-xs-12 form-inline" style="margin-top:10px;">
			<form>
				<div class="form-group" style="margin:5px">
					<label for="code" class="control-label" style="padding:0 10px">编码</label>
					<input type="text" name="code" class="form-control input-sm" placeholder="编码">
				</div>
				<div class="form-group" style="margin:5px">
					<label for="desc" class="control-label" style="padding:0 10px">描述</label>
					<input type="text" name="desc" class="form-control input-sm" placeholder="描述">
				</div>
				<div class="form-group" style="margin:5px">
					<label for="status" class="control-label" style="padding:0 10px">状态</label>
					<select name="status" class="form-control input-sm">
						<option value="">请选择&nbsp;&nbsp;</option>
						<option value="1">启用</option>
						<option value="0">禁用</option>
					</select>
				</div>
				<div class="form-group" style="margin: 5px;">
					<label class="control-label" style="padding:0 10px">创建时间</label>
					<input id="dict_start_date" name="startTime" class="form-control input-sm" readonly type="text" placeHolder="开始时间">
					&nbsp;-&nbsp;
					<input id="dict_end_date" name="endTime" class="form-control input-sm" readonly type="text" placeHolder="结束时间">
				</div>
				<div class="form-group" style="margin: 5px;">
					<div class="col-sm-12 text-center">
						<button type="button" class="btn btn-success btn-sm" onclick="dict_search_submit();">提交</button>
						<button type="reset" class="btn btn-default btn-sm">重置</button> 
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="row" style="display:none">
		<div class="col-xs-12">
			<div id="dict_toolbar" class="toolbar">
				<!-- 添加按钮 -->
				<button class="btn btn-sm btn-success" type="button" onclick="dict_add();">
					<i aria-hidden="true" class="fa fa-plus"></i>添加
				</button>
				<!-- 批量删除按钮 -->
				<button class="btn btn-sm btn-success" type="button" onclick="dict_batch_delete();">
					<i aria-hidden="true" class="fa fa-trash"></i>删除
				</button>
				<button class="btn btn-success btn-sm" type="button" onclick="dict_search_plus();" id="dict_search_plus_btn">
					<i aria-hidden="true" class="fa fa-plus"></i>高级
				</button>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-xs-12">
			<table id="dict_datatable" data-mobile-responsive="true"></table>
		</div>
	</div>
</div>
<div class="clearfix"></div>

<script type="text/javascript">
	require(["./static/pages/scripts/system/dict"], function(dict){
		dict.initPage();
	});
</script>
